﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="A_Donhang.aspx.cs" Inherits="admin_A_Donhang" Title="Untitled Page" %>
<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
        <table style="width: 100%" align="center" >
            <tr>
                <td colspan="2" style="width: 100%; color: #993300; background-color: #cccccc;" align="center"> 
                  Danh Sách Đơn Hàng</td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="width: 399px; height: 13px; background-color: #cccccc;">
                    Mã :<asp:TextBox ID="txtma" runat="server" Width="45px"></asp:TextBox>
                    &nbsp; &nbsp; Ngày Đặt :<asp:TextBox ID="txtngaydat" runat="server" Width="129px"></asp:TextBox>
                    Ngày Giao :
                    <asp:TextBox ID="txtngaygiao" runat="server"></asp:TextBox>
                    <asp:Button
                        ID="bttimkiem" runat="server" Text="Tìm Kiếm" OnClick="bttimkiem_Click" /></td>
            </tr>
            <tr>
                <td colspan="2" align="left" style="height: 40px; width: 399px; background-color: #cccccc;">
                <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                <thead>
                    <tr class="listtableheader">
                        <th>Mã Đơn Hàng</th>
                        <th>Khách Hàng</th>
                        <th>Ngày Đặt Hàng </th>
                        <th>Ngày Giao Hàng</th>
                        <th>Tổng Tiền</th>
                        
                         </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                    <asp:HyperLink ID="hpl_madonhang" runat="server">HyperLink</asp:HyperLink>
                   
                </td>
                 <td>
                     <asp:Literal ID="lit_makhachhang" runat="server"></asp:Literal></td>
                     <td><%#Eval("ngaydathang") %></td>
                     <td><%#Eval("ngaygiaohang")%></td>
                     <td><%#Eval("TongTien")%></td>
                     
                    
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater> 
                    <cc1:pagerv2_8 id="ptrangdonhang" runat="server" OnCommand="ptrangdonhang_Command"></cc1:pagerv2_8>
                </td>
            </tr>
        </table>

</asp:Content>

